package com.boss.salary.dao;

import com.boss.salary.entity.PersonHistory;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface IPersonHistoryDao {

    void batchSavePersonHistory(List<PersonHistory> list) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException;

    /**
     * 根据查询人员id获取历史拓展表数据
     * @param personId
     * @param salaryMonth
     * @return
     */
    PersonHistory selectHistoryPersonExtByPersonId(String personId, String salaryMonth);

}
